Release 10.1A: OpenEdge Development:
Messaging and ESB
Connection options
The OpenEdge Adapter for SonicMQ supports most of the same connection options as does the OpenEdge AppServer. You specify the desired options as the value of the
adapterConnectionparameter. Table 4–1 lists and explains the valid formats for expressing these options.
Table 4–1: OpenEdge Adapter for SonicMQ connection options Connection option Description Specifies the network address of a machine hosting a NameServer; or, if you use the -DirectConnect option, the address of a machine hosting a OpenEdge Adapter for SonicMQ. You can use either the TCP/IP host name or the IP address of the machine. (Defaults tolocalhost.) Specifies the UDP port number for a NameServer; or, if you use the -DirectConnect option, the TCP/IP port number for a OpenEdge Adapter for SonicMQ. You can use either an explicit port number or a name associated with a port number in the TCP/IP services file. (Defaults to5162for a NameServer connection, or3620for a direct connection to a OpenEdge Adapter for SonicMQ.) If included, causes the-Hand-Sparameters to be interpreted as the network address and TCP/IP port number of a specific OpenEdge Adapter for SonicMQ. If the -DirectConnect switch is omitted, the-Hand-Sparameters are interpreted as the network address and UDP port number of a NameServer. If included, specifies a secure connection to an SSL-enabled OpenEdge Adapter for SonicMQ.For more information, see OpenEdge Getting Started: Core Business Services . An HTTP- or HTTPS-based URL to an AppServer Internet Adapter (AIA), or an AppServer-based URL to a OpenEdge Adapter for SonicMQ to which you connect either directly or through a NameServer. This URL is identical in format to the URL used to connect Open Clients to an AppServer.The use of the-URLoption precludes the use of the-H,-S,-DirectConnect, and-ssloptions. The-URLparameter contains the necessary host and port information; it provides equivalent support for direct connections and secure SSL connections viaAppServerDC,AppServerDCS,AppServerS, andHTTPS.For more information on the -Note: The service name of the OpenEdge Adapter for SonicMQ is a required part of theURLconnection option, see OpenEdge Application Server: Developing AppServer Applications .-URLparameter. Therefore, if the application subsequently calls setAdapterService procedure, the call is ignored. If included, turns off host verification for a secure (SSL) connection. In the case of an SSL connection, unless this switch is included, the client compares the host name (specified in the-Hparameter or the-URLparameter) with the Common Name specified in the server certificate, and raises an error if they do not match. With-nohostverifyin effect, the client never raises the error.This option works only in the context of a secure connection; that is, in combination with the-sslswitch or with anHTTPS,AppServerS, orAppServerDCSparameter to the-URLswitch.For more information, see OpenEdge Getting Started: Core Business Services . If included, prevents the application from reusing the session ID when reconnecting to the same SSL-enabled OpenEdge Adapter for SonicMQ.This option works only in the context of a secure (SSL) connection; that is, in combination with the-sslswitch or with anHTTPS,AppServerS, orAppServerDCSparameter to the-URLswitch.For more information, see OpenEdge Getting Started: Core Business Services . Specifies a text file containing any of the AppServer connection parameters described in this table. Any other OpenEdge startup parameters in the file are ignored.Creates a direct connection to the SonicMQ Broker using the
jmssession.pSession object.
Table 4–2 shows several examples of valid
adapterConnectionparameters.
See the following manuals for more information:
- OpenEdge Application Server: Developing AppServer Applications for details on URL-based connections. Although the discussion is in the context of AppServer connections, the same syntax rules apply to all OpenEdge Adapter for SonicMQ connections.
- OpenEdge Application Server: Administration (and online help for the Progress Explorer tool) for instructions on enabling the OpenEdge Adapter for SonicMQ for SSL connections.
- OpenEdge Getting Started: Core Business Services for a comprehensive discussion of SSL connections, management of keys and certificates, and other security considerations in OpenEdge.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |